package javacommon.authority.controller;

import java.util.List;

import javacommon.authority.model.DicData;

import com.jfinal.core.Controller;

public class DicDataController extends Controller{
	public void list(){
		String isJson = getPara(0);
		String pathkey = getPara(1);
		List<DicData> data = DicData.dao.findByTypekey(pathkey);
		setAttr("data", data);
		renderJson();
	}
}
